package com.itheima.in;

import java.io.FileInputStream;
import java.io.IOException;

public class Demo01 {

    public static void main(String[] args) throws IOException {
        //创建对象
        FileInputStream fis = new FileInputStream("day12\\a.txt");

        //调用方法
        int read = fis.read();

        System.out.println((char)read);

        //释放资源
        fis.close();

    }
}
